package com.mes.pojo.fixture;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.xml.crypto.Data;
import javax.xml.parsers.SAXParser;
import java.util.Date;

/**
 * @Author 张喆
 * @Company
 * @Description
 * @Time 2024/10/23 9:50
 */
@HeadRowHeight(25)
@ContentRowHeight(20)
@ColumnWidth(100)
public class Fixture {
    @ExcelProperty(value = "工装夹具编号",index = 0)
    private String fixtureId;
    @ExcelProperty(value = "工装夹具名称",index = 1)
    private String fixtureName;
    @ExcelProperty(value = "工装夹具品牌",index = 2)
    private String fixtureBrand;
    @ExcelProperty(value = "工装夹具型号",index = 3)
    private String fixtureModel;
    @ExcelIgnore
    private String fixtureTypeId;
    @ExcelProperty(value = "工装夹具库存",index = 4)
    private Long fixtureInventoryQuantity;
    @ExcelProperty(value = "工装夹具可用",index = 5)
    private Long fixtureUseful;
    @ExcelIgnore
    private Integer fixtureStatus;
    @ExcelProperty(value = "工装夹具备注",index = 6)
    private String fixtureNotes;
    @ExcelProperty(value = "下次保养时间",index = 7)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date fixtureMaintainTime;
    @ExcelProperty(value = "工装夹具创建时间",index = 8)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date fixtureCreateTime;
    @ExcelProperty(value = "工装夹具修改时间",index = 9)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date fixtureModifyTime;
    @ExcelIgnore
    private FixtureType fixtureType;

    public String getFixtureId() {
        return fixtureId;
    }

    public Date getFixtureMaintainTime() {
        return fixtureMaintainTime;
    }

    public void setFixtureMaintainTime(Date fixtureMaintainTime) {
        this.fixtureMaintainTime = fixtureMaintainTime;
    }

    public void setFixtureId(String fixtureId) {
        this.fixtureId = fixtureId;
    }

    public String getFixtureName() {
        return fixtureName;
    }

    public void setFixtureName(String fixtureName) {
        this.fixtureName = fixtureName;
    }

    public String getFixtureBrand() {
        return fixtureBrand;
    }

    public void setFixtureBrand(String fixtureBrand) {
        this.fixtureBrand = fixtureBrand;
    }

    public String getFixtureModel() {
        return fixtureModel;
    }

    public void setFixtureModel(String fixtureModel) {
        this.fixtureModel = fixtureModel;
    }

    public String getFixtureTypeId() {
        return fixtureTypeId;
    }

    public void setFixtureTypeId(String fixtureTypeId) {
        this.fixtureTypeId = fixtureTypeId;
    }

    public Long getFixtureInventoryQuantity() {
        return fixtureInventoryQuantity;
    }

    public void setFixtureInventoryQuantity(Long fixtureInventoryQuantity) {
        this.fixtureInventoryQuantity = fixtureInventoryQuantity;
    }

    public Long getFixtureUseful() {
        return fixtureUseful;
    }

    public void setFixtureUseful(Long fixtureUseful) {
        this.fixtureUseful = fixtureUseful;
    }

    public Integer getFixtureStatus() {
        return fixtureStatus;
    }

    public void setFixtureStatus(Integer fixtureStatus) {
        this.fixtureStatus = fixtureStatus;
    }

    public String getFixtureNotes() {
        return fixtureNotes;
    }

    public void setFixtureNotes(String fixtureNotes) {
        this.fixtureNotes = fixtureNotes;
    }

    public Date getFixtureCreateTime() {
        return fixtureCreateTime;
    }

    public void setFixtureCreateTime(Date fixtureCreateTime) {
        this.fixtureCreateTime = fixtureCreateTime;
    }

    public Date getFixtureModifyTime() {
        return fixtureModifyTime;
    }

    public void setFixtureModifyTime(Date fixtureModifyTime) {
        this.fixtureModifyTime = fixtureModifyTime;
    }

    public FixtureType getFixtureType() {
        return fixtureType;
    }

    public void setFixtureType(FixtureType fixtureType) {
        this.fixtureType = fixtureType;
    }
}
